package com.mdd.front.validate.yangyangLeadingEnterprise;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("用户活动报名创建参数")
public class TAppUserActivityRegistrationCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "activityId参数缺失")
    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "用户名称")
    private String name;

    @NotNull(message = "pic参数缺失")
    @ApiModelProperty(value = "用户头像")
    private String pic;

}
